package com.cskaoyan.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author: lds
 * @clsss: StatOrderVo
 */

public class StatOrderVo {


    private List<String> columns;
    private List<RowsBean> rows;

    public List<String> getColumns() {
        return columns;
    }

    public void setColumns(List<String> columns) {
        this.columns = columns;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * amount : 4989
         * orders : 4
         * customers : 3
         * day : 2020-04-27
         * pcr : 1663
         */

        private BigDecimal amount;
        private int orders;
        private int customers;
        @JsonFormat
        private Date day;
        private BigDecimal pcr;

        public BigDecimal getAmount() {
            return amount;
        }

        public void setAmount(BigDecimal amount) {
            this.amount = amount;
        }

        public int getOrders() {
            return orders;
        }

        public void setOrders(int orders) {
            this.orders = orders;
        }

        public int getCustomers() {
            return customers;
        }

        public void setCustomers(int customers) {
            this.customers = customers;
        }

        public Date getDay() {
            return day;
        }

        public void setDay(Date day) {
            this.day = day;
        }

        public BigDecimal getPcr() {
            return pcr;
        }

        public void setPcr(BigDecimal pcr) {
            this.pcr = pcr;
        }
    }
}
